﻿namespace IService.Admin
{
    public interface IRecycleReqHandleService : IBaseService<TRecycleReqHandle>
    {
        /// <summary>
        /// 添加或修改
        /// </summary>
        /// <param name="par"></param>
        /// <returns></returns>
        Task<RM_ApiResult> AddOrUpdate(TRecycleReqHandle par);

        /// <summary>
        /// 获取列表
        /// </summary>
        /// <param name="par"></param>
        /// <returns></returns>
        Task<RM_ApiResult> GetPage(Par_AdminPageBase par);

        /// <summary>
        /// 获取详情
        /// </summary>
        /// <param name="key"></param>
        /// <returns></returns>
        Task<RM_ApiResult> GetItem(int key);

        Task<RM_ApiResult> DeleteItem(int key);
    }
}